package org.example.medicalstaff.service;


import org.bouncycastle.crypto.agreement.srp.SRP6Client;
import org.example.his.common.api.CommonResponse;
import org.example.medicalstaff.entity.*;
import org.example.medicalstaff.vo.DrugAndPreDetailed;


import java.util.List;

public interface DrugService {
    CommonResponse<DrugsTemplate> medicine_manageTemplate_add(
            String Name,
            int Scope,
            int UsersID,
            String CreationTime
            );

    CommonResponse<String> medicine_manageTemplate_delete(
            int templateID
    );

    CommonResponse<DrugsTemplate> medicine_manageTemplate_update(
            String name,
            int scope,//不可修改
            int usersID,
            String creationTime,
            int delMark//不可修改
       );

    CommonResponse<List<DrugsTemplate>> medicine_manageTemplate_getList();//获取全部

    CommonResponse<DrugsTemplate> medicine_manageTemplate_get(String name);//根据名称获得drugTemplate

    CommonResponse<DrugsDetailed> medicine_manageDetailed_add(
            int DrugsID,
            int DrugsTempID ,
            String DrugsUsage,
            String Dosage,
            String Frequency );

    CommonResponse<DrugsDetailed> medicine_manageDetailed_delete(
            String DrugsName,
            String DrugsFormat,
            int DrugsTempID
            );

    CommonResponse<List<DrugAndPreDetailed>> medicine_manageDetailed_getList1(int DrugsTempID);


    CommonResponse<DrugsDetailed> medicine_manageDetailed_update(
            int DrugsID,//不可修改
            int DrugsTempID ,//达咩
            String DrugsUsage,
            String Dosage,
            String Frequency );
   CommonResponse<Drugs> medicine_manageDrugs_delete(
            String DrugsName);

}